﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ADONETDataServicesExtension.Utils;

namespace ADONETDataServicesExtension
{
    public static class Strings
    {
        internal const string FrameworkTypeName = "System.Data.Services.Strings";

        public static string RequestUriProcessor_TooManySegments
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "RequestUriProcessor_TooManySegments");
            }
        }

        public static string RequestQueryProcessor_QueryNoOptionsApplicable
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "RequestQueryProcessor_QueryNoOptionsApplicable");
            }
        }

        public static string RequestQueryProcessor_QueryExpandOptionNotApplicable
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "RequestQueryProcessor_QueryExpandOptionNotApplicable");
            }
        }

        public static string RequestUriProcessor_PropertyNotFound(object p0, object p1)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestUriProcessor_PropertyNotFound", p0, p1);
        }

        public static string RequestQueryProcessor_QueryFilterOptionNotApplicable
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "RequestQueryProcessor_QueryFilterOptionNotApplicable");
            }
        }

        public static string RequestQueryProcessor_QuerySetOptionsNotApplicable
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "RequestQueryProcessor_QuerySetOptionsNotApplicable");
            }
        }

        public static string RequestQueryProcessor_IncorrectArgumentFormat(object p0, object p1)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryProcessor_IncorrectArgumentFormat", p0, p1);
        }

        public static string RequestQueryParser_ExpressionTypeMismatch(object p0, object p1)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_ExpressionTypeMismatch", p0, p1);
        }

        public static string RequestQueryParser_NullOperatorUnsupported(object p0, object p1, object p2)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_NullOperatorUnsupported", p0, p1, p2);
        }

        public static string RequestQueryParser_NotDoesNotSupportType(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_NotDoesNotSupportType", p0);
        }

        public static string RequestQueryParser_ExpressionExpected(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_ExpressionExpected", p0);
        }

        public static string RequestQueryParser_UnknownProperty(object p0, object p1, object p2)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_UnknownProperty", p0, p1, p2);
        }

        public static string RequestQueryParser_OrderByDoesNotSupportType(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_OrderByDoesNotSupportType", p0);
        }

        public static string DataService_ETagSpecifiedForCollection(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "DataService_ETagSpecifiedForCollection", p0);
        }

        public static string CannotCreateInstancesOfAbstractType(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "CannotCreateInstancesOfAbstractType", p0);
        }

        public static string TargetElementTypeOfTheUriSpecifiedDoesNotMatchWithTheExpectedType(object p0, object p1)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "TargetElementTypeOfTheUriSpecifiedDoesNotMatchWithTheExpectedType", p0, p1);
        }

        public static string SingleResourceExpected
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "SingleResourceExpected");
            }
        }

        public static string RequestQueryParser_OpenParenExpected(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_OpenParenExpected", p0);
        }

        public static string RequestQueryParser_CloseParenOrOperatorExpected(object p0)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "RequestQueryParser_CloseParenOrOperatorExpected", p0);
        }

        public static string DataService_CreateDataSourceNull
        {
            get
            {
                return ReflectionHelper.GetStaticProperty<string>(FrameworkTypeName, "DataService_CreateDataSourceNull");
            }
        }

        public static string DataService_AttributeEntitySetNotFound(object p0, object p1, object p2)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "DataService_AttributeEntitySetNotFound", p0, p1, p2);
        }

        public static string DataService_ChangeInterceptorIncorrectParameterCount(object p0, object p1, object p2)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "DataService_ChangeInterceptorIncorrectParameterCount", p0, p1, p2);
        }

        public static string DataService_AuthorizationParameterNotAssignable(object p0, object p1, object p2, object p3, object p4)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "DataService_AuthorizationParameterNotAssignable", p0, p1, p2, p3, p4);
        }

        public static string DataService_AuthorizationParameterNotResourceAction(object p0, object p1, object p2, object p3)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "DataService_AuthorizationParameterNotResourceAction", p0, p1, p2, p3);
        }

        public static string DataService_AuthorizationMethodNotVoid(object p0, object p1, object p2)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "DataService_AuthorizationMethodNotVoid", p0, p1, p2);
        }

        public static string OperationNotAllowed
        {
            get { return StringsRessources.OperationNotAllowed; }
        }
    }
}
